package com.divineryang;

import org.divineryang.annotation.EnableUserTokenFeignInterceptor;
import org.divineryang.annotation.EnableUserWebMvcConfiguration;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;

@EnableUserWebMvcConfiguration
@SpringBootApplication
@EnableFeignClients(basePackages = {"com.divineryang.fegin.user","com.divineryang.fegin.cart","com.divineryang.feign.product"})
@EnableUserTokenFeignInterceptor //允许fegin的远程调用传递请求头信息
@MapperScan("com.divineryang.mapper")
public class MainOrder8514 {
    public static void main(String[] args) {
        SpringApplication.run(MainOrder8514.class,args);
    }
}